<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>MySpace Flood API Demo</title>
<link rel="stylesheet" href="static/base.css" type='' "text/css" />
</head>
<body>
	<div id="spacer"></div>
	
	<div id="header">Saved ATOM feeds</div>
	
	<div id="spacer"></div>

{% if error %}
	<div id="container">
		<h3>{{ error }}</h3>
	</div>
{% else %}
	<div id="container">
		<form action="/rawfeeds?op=delete_feeds" method="post">
		<div>
			<table class="mytable">
				<tr>
					<th>Select</th>
					<th>Time Feed Was POSTed to Subscriber</th>
					<th>Raw Feed</th>
				</tr>
				{% for feed in feeds %}
				<tr>
					<td><input type="checkbox" name="key" value="{{feed.key}}" /> </td>
					<td>{{ feed.updated }}</td>
					<td><a href="/rawfeeds?op=get_feed&key={{feed.key}}" target="_blank"> ATOM Feed </a></td>
				</tr>
				{% endfor %}
			</table>
		</div>
		<div id="spacer"></div>
		<div><input type="submit" value="Delete Feeds"></div>
		</form>
	</div>
{% endif %}
</body>
</html>